package com.wnxy.admin.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class JChargingCardDto {
    @ApiModelProperty("充电卡表")
    private Long id;

    @ApiModelProperty("充电卡编号")
    private String chargingCardNumber;

    @ApiModelProperty("会员等级")
    private String membershipLevel;

    @ApiModelProperty("开卡时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime cardOpeningTime;

    @ApiModelProperty("卡内金额")
    private BigDecimal chargingCardMoney;

    @ApiModelProperty("充电卡状态1:激活 2:未激活")
    private Integer chargingCardState;

    @ApiModelProperty("充电卡备注")
    private String chargingCardDetail;

    @ApiModelProperty("客户表id 外键")
    private Long customerId;

    @ApiModelProperty("充电站id 外键")
    private Long chargingStationId;

    @ApiModelProperty("客户名字")
    private String name;

    @ApiModelProperty("客户电话")
    private String phone;

    @ApiModelProperty("身份证号")
    private String idCard;

    @ApiModelProperty("充电站状态")
    private Integer chargingStationState;
}
